export const routerText = `
//home文件夹
export const RouterObj = [
  {
    path: '/home',
    name:'home',
    meta:{
      title: '首页',
    },
    element: () => import('../components/layout/home/home'),
    children: [
      {
        meta:{
          title: '表格演示',
        },
        name:'tabletest',
        path: 'tabletest',
        element: () => import('../view/Home/TableTest/TableTest'),
     
      },
      {
        meta:{
          title: '详情页',
        },
        name:'details',
        permission:[123],//权限登录的时候从权限接口拿到 可自行在utils/auth文件中的verifyPermission方法中修改  路由守卫在app.tsx中
        path: 'tabletest/details',
        element: () => import('../view/Home/TableTest/Details'),
      },
      {
        meta:{
          title: '详情页2',
        },
        name:'a',
        path: 'tabletest/details/a', 
        element: () => import('../view/Home/Echarts/Echarts'),
      },
      {
        meta:{
          title: '表单演示',
        },
        name:'formtest',
        path: 'formtest',
        element: () => import('../view/Home/Formtest/Formtest'),
       
      },
   
   
    ]
  }
]
export default RouterObj
// 随后在index文件夹中引入
import home from './home'
const arr = [
  ...home,
]
//即可

`